<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <script src="../../Script/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
    <script src="js/js.js"></script>
    <script type="text/javascript">
        dojo.require("dojo.parser");
    </script>
</head>
<body>
    <div dojoType="dijit.Menu" id="windowContextMenu" contextMenuForWindow="true" style="display: none;">
        <div dojoType="dijit.MenuItem" onClick="alert('我是第1个菜单项')">菜单项一</div>
        <div dojoType="dijit.MenuItem" onClick="alert(我'是第2个菜单项')">菜单项二</div>
        <div dojoType="dijit.MenuSeparator"></div>
        <div dojoType="dijit.PopupMenuItem">
            <span>启用子菜单</span>
            <div dojoType="dijit.Menu" id="submenu1">
                <div dojoType="dijit.MenuItem">子菜单项 一</div>
                <div dojoType="dijit.MenuItem">子菜单项 二</div>
            </div>
        </div>
    </div>
    <span>点击右键弹出菜单</span>
    <span id="prog_menu">Right Click ME to get a Muenuaa</span>
</body>
</html>
